package ch2.ex13;

import static ch2.ex1.Print.*;

public class CharBinaryTest {
	public static void main(String[] args){
		char a = 'a';
		println("a: " + Integer.toBinaryString(a));
		a = 'b';
		println("b: " + Integer.toBinaryString(a));
		a = 'c';
		println("c: " + Integer.toBinaryString(a));
		a = 'd';
		println("d: " + Integer.toBinaryString(a));
		a += 1;
		println("d+1: " + Integer.toBinaryString(a));
		a = 'A';
		println("A: " + Integer.toBinaryString(a));
		
		for(int i = 0; i < 26; i++ ){
			a += 1;
			println("a" + i + ": " + Integer.toBinaryString(a));
		}
	}
}
